* {
  user-select: none;
  -webkit-user-select: none;
}

.grayText {
  color: #999999;
}

nz-select {
  width: 100px;
  margin-right: 16px;
}

nz-switch {
  margin-right: 8px;
}

[nz-radio], [nz-checkbox] {
  margin-right: 8px;
}

.image {
  width: 100px;
  height: 100px;
  display: inline-block;
  position: relative;
  border: 1px solid rgba(0, 0, 0, .1);
  margin-right: 8px;

  .btnRow {
    position: absolute;
    height: 100%;
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    color: white;

    i:first-child {
      margin-right: 8px;
    }
  }

  &:hover {
    .btnRow {
      display: flex;
    }
  }

  img {
    width: 98px;
    height: 98px;
  }
}

.questionNameLabel {
  display: inline-block;
  width: 100px;

  span {
    color: red;
  }
}

.flexRow {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  position: relative;
}

.textLengthTip {
  color: #999999;
  position: absolute;
  right: 8px;
  bottom: 0;
}

.optionDragIcon {
  width: 20px;
  height: 20px;
  position: absolute;
  left: -30px;
}

.optionList {
  margin-top: 8px;
}

.addOptionBtn {
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-top: 16px;
  color: #00b7ee;

  &:hover {
    cursor: pointer;
  }
}

.addQuestion {
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-top: 16px;
  font-size: 20px;
  color: #00b7ee;

  &:hover {
    cursor: pointer;
  }
}

.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
  0 8px 10px 1px rgba(0, 0, 0, 0.14),
  0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.cdk-drag-placeholder {
  opacity: 0;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.example-box:last-child {
  border: none;
}

.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

[nz-carousel-content] {
  text-align: center;
  height: 470px;
  line-height: 470px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #fff;
  overflow: hidden;
}
